/****************************************************************************
 * 2018.8 DESKTOP-QE44MRN
 ****************************************************************************/

namespace QFramework.Example
{
	using UnityEngine;
	using UnityEngine.UI;

	public partial class UIMainPanel
	{
		public const string NAME = "UIMainPanel";

		[SerializeField] public Button Btn;
		[SerializeField] public UITodoItem TodoListItem;
		[SerializeField] public Image TodoListContent;
		[SerializeField] public UITodoItem ContentText ;

		protected override void ClearUIComponents()
		{
			Btn = null;
			TodoListItem = null;
			TodoListContent = null;
			ContentText  = null;
		}

		private UIMainPanelData mPrivateData = null;

		public UIMainPanelData mData
		{
			get { return mPrivateData ?? (mPrivateData = new UIMainPanelData()); }
			set
			{
				mUIData = value;
				mPrivateData = value;
			}
		}
	}
}
